from unittest.mock import patch

#
@patch("os.getpid")
def test_example(getpid, faker):
    getpid.return_value = True
    print(faker.name())
    print(faker.json())
    assert isinstance(faker.name(), str)
